package com.zjuee.web.ledger.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zjuee.base.dto.common.ledger.LedgerProduceBillDto;
import com.zjuee.base.model.common.ledger.LedgerProduceBill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 产生台账明细Mapper
 *
 * @author wu liang
 * @since 1.0
 */
@Mapper
public interface LedgerProduceBillMapper extends BaseMapper<LedgerProduceBill> {
    Page<LedgerProduceBill> findByCustomPager(Page<LedgerProduceBill> page, @Param("params") LedgerProduceBillDto ledgerProduceBill);

    List<LedgerProduceBill> selectList(@Param("params") LedgerProduceBill ledgerProduceBill);

    void insertBatch(List<LedgerProduceBill> insertLedgerBill);
}
